package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.onway.domain.ReportOnway;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * ${subTable.functionName}对象 report_plan_detail
 * 
 * @author ruoyi
 * @date 2024-10-12
 */
public class ReportPlanDetailInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "工作人")
    private String extra1;

    /** $column.columnComment */
    @Excel(name = "工作人")
    private String extra2;

    /** $column.columnComment */
    @Excel(name = "工作人")
    private String extra3;

    /** $column.columnComment */
    @Excel(name = "工作人")
    private String extra4;

    /** 采购计划id */
    @Excel(name = "采购计划id")
    private Long planId;

    /** 在途油情况 */
    @Excel(name = "在途油情况")
    private String onWay;

    /** 已发 */
    @Excel(name = "已发")
    private BigDecimal send;

    /** 未发 */
    @Excel(name = "未发")
    private BigDecimal notSend;

    /** 已发/未发比率 */
    @Excel(name = "已发/未发比率")
    private BigDecimal rate;

    /** 炼厂id */
    @Excel(name = "炼厂id")
    private Long refineryId;

    private String refineryName;

    /** 分配量 */
    @Excel(name = "分配量")
    private BigDecimal quantity;

    private List<ReportOnway> onways;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setExtra4(String extra4) 
    {
        this.extra4 = extra4;
    }

    public String getExtra4() 
    {
        return extra4;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setOnWay(String onWay) 
    {
        this.onWay = onWay;
    }

    public String getOnWay() 
    {
        return onWay;
    }
    public void setSend(BigDecimal send) 
    {
        this.send = send;
    }

    public BigDecimal getSend() 
    {
        return send;
    }
    public void setNotSend(BigDecimal notSend) 
    {
        this.notSend = notSend;
    }

    public BigDecimal getNotSend() 
    {
        return notSend;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setRefineryId(Long refineryId) 
    {
        this.refineryId = refineryId;
    }

    public Long getRefineryId() 
    {
        return refineryId;
    }
    public void setQuantity(BigDecimal quantity) 
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() 
    {
        return quantity;
    }

    public List<ReportOnway> getOnways() {
        return onways;
    }

    public void setOnways(List<ReportOnway> onways) {
        this.onways = onways;
    }

    public String getRefineryName() {
        return refineryName;
    }

    public void setRefineryName(String refineryName) {
        this.refineryName = refineryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("planId", getPlanId())
            .append("onWay", getOnWay())
            .append("send", getSend())
            .append("notSend", getNotSend())
            .append("rate", getRate())
            .append("refineryId", getRefineryId())
            .append("quantity", getQuantity())
            .toString();
    }
}
